//---------------------------------------------------------------------------

#ifndef TGenValFormH
#define TGenValFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Grids.hpp>
#include <ValEdit.hpp>
#include "CSPIN.h"
#include <ExtCtrls.hpp>
#include "TGraphForm.h"
#include "TGRA.h"
#include "TMainForm.h"
#include "TNumber.h"
//---------------------------------------------------------------------------
class TGenValForm : public TForm
{
__published:	// IDE-managed Components
        TGroupBox *ConGB;
        TLabel *Label1;
        TLabel *Label2;
        TEdit *BeginEdit;
        TEdit *EndEdit;
        TCSpinEdit *PointsCountCSpin;
        TLabel *Label3;
        TButton *GenBtn;
        TStringGrid *SG;
        TButton *Button1;
        TButton *Button2;
        TButton *CloseBtn;
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall FormShow(TObject *Sender);
        void __fastcall GenBtnClick(TObject *Sender);
        void __fastcall F1BtnClick(TObject *Sender);
        void __fastcall Button1Click(TObject *Sender);
        void __fastcall Button2Click(TObject *Sender);
        void __fastcall CloseBtnClick(TObject *Sender);
private:	// User declarations
  TGraphForm *GraphForm;
  TGRA *GRA;
  double Begin;
  double End;
  TNumber *XFormat;
  TNumber *YFormat;
  int Count;
  double Tab;
public:		// User declarations
        __fastcall TGenValForm(TComponent* Owner);
        void __fastcall Define();
        void AssignPointer(TGRA * _GRA, TGraphForm *_GraphForm);
        Clear();
};
//---------------------------------------------------------------------------
extern PACKAGE TGenValForm *GenValForm;
//---------------------------------------------------------------------------
#endif
